/**
 * 
 */
package kr.pe.smallhope.mobismap;

import java.util.HashMap;

/**
 * @author silent
 *
 */
public class MobisMapConstants {
//    public static final String URL = "http://mobismap.hosting.paran.com/";
    public static final String URL = "http://silent.hosting.paran.com/";
    
    public static final String KEY_NAVER_MAP_USER_KEY = "KEY_NAVER_MAP_USER_KEY";
    public static final String KEY_NAVER_MAP_ROUTE_KEY = "KEY_NAVER_MAP_ROUTE_KEY";
    public static final String KEY_GOOGLE_MAP_USER_KEY = "KEY_GOOGLE_MAP_USER_KEY";
    
    private static HashMap<String, String> properties = new HashMap<String, String>();
    
    public static void setProperty(String key, String value) {
        properties.put(key, value);
    }
    
    public static String getProperty(String key) {
        return getProperty(key, null);
    }
    
    public static String getProperty(String key, String defaultValue) {
        String value = properties.get(key);
        if (value == null) {
            value = defaultValue;
        }
        return value;
    }
}
